package com.example.biyesheji.service.impl;

import com.example.biyesheji.mapper.ProductMapper;
import com.example.biyesheji.pojo.ProductSales;
import com.example.biyesheji.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductMapper productMapper;

    public List<ProductSales> productSalesList(){
        List<ProductSales> productList = productMapper.getProductList();
        return productList;
    }
}
